streamObject

fun <TOutput> streamObject(model: LanguageModel, output: Output<TOutput>, prompt: String? = null, messages: List<ModelMessage> = emptyList(), system: String? = null, temperature: Float? = null, topP: Float? = null, topK: Int? = null, maxOutputTokens: Int? = null, stopSequences: List<String> = emptyList(), seed: Int? = null, providerOptions: Map<String, JsonElement> = emptyMap(), abortSignal: AbortSignal = AbortSignalNever, presencePenalty: Float? = null, frequencyPenalty: Float? = null, responseFormat: ResponseFormat = ResponseFormat.Text): Flow<StreamEvent>

Deprecated

Use streamText(output = ...) instead.

Deprecated v6 compatibility helper. Prefer streamText with output = ...; the KMP core streams typed StreamEvent values instead of returning a browser/Node stream facade.